package com.tbit.uqbike.service.business;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tbit.uqbike.object.business.UserInfo;
import com.tbit.uqbike.webmanager.dto.AbnormalRecordDTO;
import com.tbit.uqbike.webmanager.req.AbnormalHandleReq;
import com.tbit.uqbike.webmanager.req.AbnormalRecordReq;
import com.tbit.uqbike.webmanager.resp.reconciliation.HandleDetailResp;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 对账服务
 *
 *
 * @author <a href="mailto:chen.chaoxiong@tbit.com.cn">ChenChaoXiong</a>
 * @since 2024/5/21
 */
public interface ReconciliationService {
    Page<AbnormalRecordDTO> list(AbnormalRecordReq req);

    void export(AbnormalRecordReq req, HttpServletResponse response) throws IOException;

    void handleAbnormal(AbnormalHandleReq req, UserInfo userInfo);

    HandleDetailResp detail(Long recordId);
}
